
import base.InitExcel;
import base.InitImageAndFont;
import config.FontConfig;
import service.ImageService;

public class Main {
    public Main() {
    }

    public static void main(String[] args) {
        System.out.println("开始!");
        int threadNum = 2;
        InitImageAndFont.init();
        FontConfig.getQmDefatFont(70.0F);
        InitExcel.readXml();
        ImageService imageService = new ImageService();

        for(int i = 1; i <= threadNum; ++i) {
            Thread thread = new Thread(imageService);
            thread.setName(i + "Thread");
            thread.start();
        }

    }
}
